Skip to content

Correct Worker name to match deployed: isamples-data#121

Merged
rdhyee merged 1 commit intoisamplesorg:mainfrom
rdhyee:fix/worker-name-readme
Apr 17, 2026
Merged

Correct Worker name to match deployed: isamples-data#121
rdhyee merged 1 commit intoisamplesorg:mainfrom
rdhyee:fix/worker-name-readme

Conversation

@rdhyee
Copy link
Copy Markdown
Contributor

@rdhyee rdhyee commented Apr 17, 2026

Follow-up to #120 — discovered during deploy that the existing Worker is named isamples-data, not our invented data-isamples-org. Renamed so wrangler deploy atomically replaces the existing Worker. Also fixes TOML ordering (routes was being scoped to r2_buckets table) and adds the explicit account_id.

Verified live: curl -sI https://data.isamples.org/isamples_202601_h3_summary_res4.parquet now returns cache-control: public, max-age=31536000, immutable.

🤖 Generated with Claude Code

Discovered during initial deploy that data.isamples.org was already
served by a Cloudflare Worker named 'isamples-data' (not 'data-isamples-org'
as I'd named the new one). Also found two wrangler.toml issues:

- `routes` appearing after [[r2_buckets]] got TOML-scoped to that table
- No explicit account_id meant non-interactive deploys failed with
  "more than one account available"

Fixes:
- Rename Worker to 'isamples-data' so `wrangler deploy` atomically
  replaces the existing Worker at that name (preserving the route
  binding in one step).
- Add account_id for Raymond.yee@gmail.com's account.
- Move `routes` above [[r2_buckets]] so TOML parses it as a top-level key.
- Update README to document the name choice.

Deployed 2026-04-17, verified: Cache-Control: public, max-age=31536000,
immutable is now returned for isamples_202601_*.parquet files. Range
requests continue to work (206 + Content-Range).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@rdhyee rdhyee merged commit 68af179 into isamplesorg:main Apr 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant